<?php

namespace Core\StringHandling;

class StringCollection extends \ArrayObject implements StringI {

    public function get ( $intIndex ) {
        return $this[$intIndex]; // NOTE: This will return an error if the index doesn't exist.
    }

    public function trim ( $constExclude = null ) {
        foreach ( $this as $cstr ) {
            $cstr->trim( $constExclude );
        }
    }

}

?>
